package demo1;
abstract class Animal {
    public abstract void fun ();


}
abstract class Dog extends Animal{
    public abstract void fun1 ();
}
class DollDog extends Dog{

    @Override
    public void fun() {

    }

    @Override
    public void fun1() {

    }
}
public class Test {
    public static void main(String[] args) {

    }
}
